<ion-content class="idcard-confirm" (click)="dismiss()">
  <ion-grid class="msg-confirm" (click)="prevent($event)">
    <ion-row>
      <ion-col text-center class="pic">
        <img src="./assets/icon/smile.svg" alt="">
      </ion-col>
    </ion-row>
    <ion-row ion-text text-center justify-content-center class="info">
      签约前请登记您的真实信息
    </ion-row>
    <ion-row class="msg">
      <ion-col col-4>姓名</ion-col>
      <ion-col >
        <ion-input type="text" [(ngModel)]="data.name" placeholder="请输入姓名"></ion-input>
      </ion-col>
    </ion-row>
    <ion-row class="msg">
      <ion-col col-4>身份证号</ion-col>
      <ion-col >
        <ion-input type="text"
                   [(ngModel)]="data.idcard"
                   [ngClass]="{'text-invalid':data.idcard && !validationService.isIdNumber(data.idcard)}"
                   placeholder="请输入身份证号"></ion-input>
      </ion-col>
    </ion-row>
    <ion-row>
      <ion-col ion-text text-right offset-1 >
        <button  ion-button (click)="dismiss()">去签约</button>
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>
